package model;

public class Employee {
	private String name;
	private String email;
	private String gender;
	private String address;
	private String emergencyContact;
	private String phoneNumber;
	private String department;
	private String title;
	private String SSN;
	private String dateOfBirth;

	public String getSSN() {
		return SSN;
	}
	public void setSSN(String sSN) {
		SSN = sSN;
	}
	public String getDateOfBirth() {
		return dateOfBirth;
	}
	public void setDateOfBirth(String dateOfBirth) {
		this.dateOfBirth = dateOfBirth;
	}

	private float salary;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getGender() {
		return gender;
	}
	public void setGender(String gender) {
		this.gender = gender;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getEmergencyContact() {
		return emergencyContact;
	}
	public void setEmergencyContact(String emergencyContact) {
		this.emergencyContact = emergencyContact;
	}
	public String getPhoneNumber() {
		return phoneNumber;
	}
	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}
	public String getDepartment() {
		return department;
	}
	public void setDepartment(String department) {
		this.department = department;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public float getSalary() {
		return salary;
	}
	public void setSalary(float salary) {
		this.salary = salary;
	}
	public Employee(String name, String email, String gender, String address,
			String emergencyContact, String phoneNumber, String department,
			String title, String sSN, String dateOfBirth, float salary) {
		super();
		this.name = name;
		this.email = email;
		this.gender = gender;
		this.address = address;
		this.emergencyContact = emergencyContact;
		this.phoneNumber = phoneNumber;
		this.department = department;
		this.title = title;
		SSN = sSN;
		this.dateOfBirth = dateOfBirth;
		this.salary = salary;
	}
	
	@Override
	public String toString() {
		return String.format("%s+%s+%s+%s+%s+%s+%s+%s+%s+%s+%s",name,email,gender,address,emergencyContact,phoneNumber,department,title,SSN,dateOfBirth,Float.toString(salary));
	}
	public Employee(){
		super();
	}
}
